const controller = require("../controllers/client.server.controller");
var express = require('express');
var router = express.Router();

router.route("/")
    .post(controller.userRegist)
    .put(controller.updateUserInfo)
    .get(controller.getUserLoginStatus);


router.post("/login",controller.userLogin);

router.get("/logout",controller.userLogout);

module.exports = router;
